package com.bw.goods.mvvm.adapter;

import android.widget.ImageView;

import com.bw.goods.R;
import com.bw.mvvm_common.mvvm.network.load.LoadImage;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/15 0015 上午 9:30
 *
 */
class HomeHotAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public HomeHotAdapter() {
        super(R.layout.item_home_hot);
    }

    @Override
    protected void convert(  BaseViewHolder baseViewHolder, String s) {
        ImageView img = baseViewHolder.findView(R.id.home_hot_img);
        LoadImage.loadMatchImg(s,img);
    }
}
